#ifndef __TILE_IF_H__
#define __TILE_IF_H__

#include "lwip/netif.h"
#include "if_netio_api.h"

struct tile_if
{
    struct eth_addr *ethaddr;
    netio_instance_t *netio_instance;
};

err_t tile_if_init(struct netif *netif);
err_t tile_if_start(struct netif *netif, unsigned int workers);
struct pbuf *netio_input(struct netif *netif);
err_t netio_output(struct netif *netif, struct pbuf *p);

void tile_if_input(struct netif *netif);
#endif
